#ifndef __LCD1602_H__
#define __LCD1602_H__

// LCD初始化
void LCD_Init();

// LCD显示字符
void LCD_ShowChar(unsigned char Line,unsigned char Column,unsigned char Char);

// LCD显示字符串
void LCD_ShowString(unsigned char Line,unsigned char Column,unsigned char* String);

// LCD显示数字
void LCD_ShowNum(unsigned char Line,unsigned char Column,unsigned int Number,unsigned char Length);

// LCD显示有符号数
void LCD_ShowSignedNum(unsigned char Line,unsigned char Column,int Number,unsigned char Length);

// LCD显示二进制数
void LCD_ShowBinNum(unsigned char Line,unsigned char Column,unsigned int Number,unsigned char Length);

// LCD显示十六进制数
void LCD_ShowHexNum(unsigned char Line,unsigned char Column,unsigned int Number,unsigned char Length);

// 将自定义字符写入到CGRAM中
void LCD_SetCustomChar(unsigned char Position,char *Table);

// 输出自定义字符
void LCD_ShowCustomChar(unsigned char Line,unsigned char Column,unsigned char Num);

#endif